meson: cups: use cups-config for looking up cups
authorChristoph Reiter <creiter@src.gnome.org>
Mon, 1 Jul 2019 19:52:06 +0000 (21:52 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Mon, 1 Jul 2019 19:52:06 +0000 (21:52 +0200)
commit72814c54a81195a76c96990987c71680096e905c
tree057a70661f6fd47176243dbdd1e963a72bf8e70e
parent4d4e02c9d0cea4113a02fca2cf0d3efefe384e78
meson: cups: use cups-config for looking up cups

We were looking for the cups headers and the cups lib in the default locations
which for example breaks with OpenBSD where the cups headers are under /usr/local/include/

Instead just use the "cups" dependency type from meson which internally uses cups-config.

See #1967

Ported to master from !963
modules/printbackends/meson.build